package com.pair.micro.fee.modules.charge.service;

import com.pair.micro.common.mybatis.service.BaseService;
import com.pair.micro.common.utils.PageResult;
import com.pair.micro.fee.modules.charge.entity.ChargeConfigEntity;
import com.pair.micro.fee.modules.charge.entity.ChargeProjectEntity;
import com.pair.micro.fee.modules.charge.entity.RoomOwnerEntity;
import com.pair.micro.fee.modules.charge.query.ChargeConfigQuery;
import com.pair.micro.fee.modules.charge.query.ChargeProjectQuery;
import com.pair.micro.fee.modules.charge.vo.ChargeConfigVO;
import com.pair.micro.fee.modules.charge.vo.ChargeProjectVO;

import java.util.List;
import java.util.Map;

/**
 * 收费设置
 *
 * @author xubz
 */
public interface ChargeProjectService extends BaseService<ChargeProjectEntity> {

    PageResult<ChargeProjectVO> page(ChargeProjectQuery query);


    void save( List<RoomOwnerEntity> list, ChargeProjectVO vo);

    void update(ChargeProjectVO vo);

    void delete(List<Long> idList);

    List<RoomOwnerEntity> checkParams(ChargeProjectVO vo);

    void charge(ChargeProjectVO vo);

    ChargeProjectEntity getListById(Map<String, Object> projectId);
}
